home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / H-I / HypertalkTools.cpt / Resource Copier / card_4803.txt < prev    next >
Text File  |  1989-02-26  |  865b  |  20 lines

  1. -- card: 4803 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 2808
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 5
  9. ----- text -----
  10.      Now that both resource forks are open, ResCopy uses the type and name parameters passed to it when it's called from HyperTalk.
  11.  
  12.      ResCopy attempt to get the resource with the type and name specified. If there is a problem and it can't, ResCopy quits and returns to HyperCard, and reports the error.
  13.  
  14.      More likely, ResCopy gets the resource successfully, and turns it's attention to the destination file, the stack we want to paste the resource into.
  15.  
  16.      First, ResCopy looks for a resource in the stack with the same name. If there is one, it removes it, so that there won't be two resources with the same name after the pasting is done.
  17.  
  18. -- part contents for background part 7
  19. ----- text -----
  20. 8